package com.adingxiong.quickstart.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiongc
 * @since 2020-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="GoodsContent对象", description="")
public class GoodsContent implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "描述文字")
    private String attrText;

    @ApiModelProperty(value = "描述图片")
    private String attrPic;

    @ApiModelProperty(value = "图片位置")
    private String picPosition;

    @ApiModelProperty(value = "是否是轮播 0是1否")
    private Integer isSlide;

    @ApiModelProperty(value = "主表关联id")
    private Integer goodsId;

    @ApiModelProperty(value = "是否有图 0 有 1 无 ")
    private Integer hasPic;

    @ApiModelProperty(value = "是否有文本 0有1无 ")
    private Integer hasText;


}
